<tag:php start /> 
/=:CoderDocBase::PrintDeclare():/ 


JCAT_Package::ImportClass('JCAT_Controller',JCAT::PACKAGE_MVC) ;

/**
 * <sentence>控制器类</sentence> <print>$TheDoc->Get('ControllerName')</print> 
 *
 * @access public
 */
class <print>$TheDoc->Get('ControllerName')</print> 
	extends JCAT_Controller 
{

	/**
	 * <sentence>构造函数</sentence> 
	 * 
	 * @access	public
	 * @param	$aParent	JCAT_IController	<sentence>父控制器</sentence> 
	 * @return	void
	 */
	public function <print>$TheDoc->Get('ControllerName')</print>(JCAT_IController $aParent=null )
	{
		// 调用父类构造函数
		$this->JCAT_Controller(__CLASS__,$aParent) ;
		
		// <sentence>初始化文档、视图、子控制器</sentence> 
		$this->Initialize() ;
	}

	/**
	 * <sentence>初始化文档、视图、子控制器</sentence> 
	 * 
	 * @access	protected
	 * @return	void
	 */
	protected function Initialize()
	{
		//<<[UnmodifiableBlock.Start]::Message Queue::>>// 
		//<<[UnmodifiableBlock.End]::Message Queue::>>// 
		
		
		$sHere = JCAT_Global::TidyPath( dirname(__FILE__) ) ;
		
		//<<[UnmodifiableBlock.Start]::Initialize Children::>>// 
		//<<[UnmodifiableBlock.End]::Initialize Children::>>// 

		//<<[UnmodifiableBlock.Start]::Register Children Global Name::>>// 
		//<<[UnmodifiableBlock.End]::Register Children Global Name::>>// 
		
		//<<[UnmodifiableBlock.Start]::Set Document To View::>>// 
		//<<[UnmodifiableBlock.End]::Set Document To View::>>// 
		

		// <sentence>在此添加代码</sentence> 
		// TODO ... ... 
	}

	
	/**
	 * <sentence>执行入口函数</sentence> 
	 * 
	 * @access	public
	 * @param	$arrArg=array	array	<sentence>参数</sentence> 
	 * @return	void
	 */
	public function MainRun(array $arrArg=array())
	{
		//<<[UnmodifiableBlock.Start]::Main Run::>>// 
<print>$TheDoc->CreateCode_MainRun()</print> 
		//<<[UnmodifiableBlock.End]::Main Run::>>// 

		// TODO
		// ... ...
	}

}

<tag:php end />